<%-- 
    Document   : Login Page
    Created on : Oct 28, 2009, 1:26:52 AM
    Author     : Phong
--%>

<%@page contentType="text/html" pageEncoding="UTF-8" import="DAOClass.*"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

        <link rel="stylesheet" href="css/style.css" />
        <link rel="stylesheet" href="css/front.css"  />
        <script language="JavaScript" src="JavaScript/checkInput.js">
        </script>
        <title>Login Page</title>
    </head>


    <body bgcolor="#154978">

        <table width="1024" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" align="center">
            <!--DWLayoutTable-->
            <tr>
                <td width="1024" height="157" valign="top" background="images/Banner.jpg">

                </td>
            </tr>
            <tr>
                <td height="463" valign="top">
                    <table width="100%" border="0" cellpadding="1" cellspacing="1">
                        <!--DWLayoutTable-->
                        <tr>
                            <td height="39" colspan="3" valign="top" background="images/button/bg_login.gif">
                            <%@include file="include/loginBar.jsp" %>	     </td>
                        </tr>
                        <tr>
                            <td width="160" rowspan="2" valign="top" class="mnLeft">

                                <!-- MENU -->
                                <%@include file="menu_left.jsp" %>

                                <!--END MENU-->	</td>




                            <!--BEGIN Content Here-->
                            <td height="860" class="mnRight" valign="top" style="margin-top:30px">

                                <form name="login" action="login" method="POST" onsubmit="return checkLogin();">
                                    <table width="100%" cellpadding="0" align="center" class="tableLogin" >
                                        <!--DWLayoutTable-->
                                        <tr>
                                            <td width="110" height="38">&nbsp;</td>
                                            <td colspan="3" align="left" valign="top">
                                                <p><h2 style="color:#FF0000">Login Form</h2></p>                                              <p></p></td>
                                        </tr>
                                        <tr>
                                            <td height="42">&nbsp;</td>
                                            <td width="130" valign="top"  class="fontLogin">
								Username :								</td>
                                            <td colspan="2" valign="top">
                                                <input type="text" name="user" style="width:180px" >								</td>
                                        </tr>
                                        <tr>
                                            <td height="42">&nbsp;</td>
                                            <td valign="top"  class="fontLogin">
								Password :								</td>
                                            <td colspan="2" valign="top">
                                                <input type="password" name="pass" style="width:180px" >								</td>
                                        </tr>

                                        <%
            String mes = "";
            mes = request.getParameter("u");

            if (mes != null) {
                                        %>
                                        <tr>
                                            <td height="42">&nbsp;</td>
                                            <td class="mes" colspan="2" align="left">
                                                Username or Password invaild                                            </td>
                                            <td width="566">&nbsp;</td>
                                        </tr>
                                        <%            }
                                        %>

                                        <tr>
                                            <td height="42">&nbsp;</td>
                                            <td colspan="2" align="right">
                                                <input  class="btnLogin" type="submit" name="login" value="Login" style="width:70px" >							</td>
                                            <td>

                                                &nbsp; <a href="#" style="font-size:12px" >Forgot Password ?</a>                                            </td>
                                        </tr>
                                        <tr>
                                            <td height="3"></td>
                                            <td></td>
                                            <td width="29"></td>
                                            <td></td>
                                        </tr>
                                    </table>
                                </form>
                            </td>
                            <!--END Content Here-->





                        </tr>
                    </table>
                </td>
            </tr>
        </table>



    </body>
</html>
